<template>
  <el-container style="height: 100%">
    <el-aside width="auto">
      <common-aside></common-aside>
    </el-aside>
    <el-container>
      <el-header>
        <common-header></common-header>
      </el-header>
       <common-tag/>
      <el-main>
       
        <router-view></router-view>
      </el-main>
    </el-container>
  </el-container>
</template>

<script>
import CommonAside from "@/components/Common/CommonAside.vue";
import CommonHeader from "@/components/Common/CommonHeader.vue";
import CommonTag from "@/components/Common/CommonTag.vue";
export default {
  name: "Main",
  components: {
    CommonAside,
    CommonHeader,
    CommonTag,
  },
  data() {
    return {};
  },
  //生命周期 - 创建完成（访问当前this实例）
  created() {},
  //生命周期 - 挂载完成（访问DOM元素）
  mounted() {},
};
</script>
<style scoped>
.el-header {
  color: #fff;
  background-color: #606266;
}
.el-aside {
  color: #fff;
  background-color: #606266;
  box-shadow: 2px 0 6px rgb(0 21 41 / 35%);
}
.el-header {
  color: #fff;
  
}
</style>